/*
 * Copyright @ 2025 weili23
 * com.example.ai 10:16
 * All right reserved.
 */

package com.example.ai;

import com.example.ai.assistant.SeparateChatAssistant;
import com.example.ai.tools.CalculatorTools;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.lang.invoke.VarHandle;

/**
 * @desc:
 * @author: weili23
 * @createTime: 2025/5/7 10:16
 * @version: v1.0
 */
@SpringBootTest
public class Tools {
    @Autowired
    private SeparateChatAssistant  separateChatAssistant;
    @Test
    public void test() {
        String chat = separateChatAssistant.chat(1, "5+6等于多少");
        System.out.println(chat);
        String chat1 = separateChatAssistant.chat(1, "123213-213等于多少");
        System.out.println(chat1);
    }
}
